package com.winona.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;
import android.widget.TextView;

import com.taplinker.client.R;
import com.winona.Base1Activity;

public class CosmetologyNameActivity extends Base1Activity {
	private TextView title;
	private ImageView back;
	private Intent intent;
	private TextView cosmetology;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.thesis_name);
		findView();
		Animation animRef = AnimationUtils.loadAnimation(this, R.anim.anim1);
		title.setText("活动名称");
		cosmetology.setText("学术活动名称");
		setLinstener();
	}

	private void setLinstener() {
		back.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				intent = new Intent(CosmetologyNameActivity.this,
						AcademicActivitiesActivity.class);
				startActivity(intent);
				overridePendingTransition(R.anim.input, R.anim.out);
			}
		});

	}

	private void findView() {
		title = (TextView) findViewById(R.id.thesis_title);
		back = (ImageView) findViewById(R.id.thesis_back);
	//	cosmetology = (TextView) findViewById(R.id.thesis_name);

	}
}
